

<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>federatedml.evaluation.test package &mdash; FATE 1.0 documentation</title>
  

  
  
  
  

  
  <script type="text/javascript" src="_static/js/modernizr.min.js"></script>
  
    
      <script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
        <script type="text/javascript" src="_static/jquery.js"></script>
        <script type="text/javascript" src="_static/underscore.js"></script>
        <script type="text/javascript" src="_static/doctools.js"></script>
        <script type="text/javascript" src="_static/language_data.js"></script>
    
    <script type="text/javascript" src="_static/js/theme.js"></script>

    

  
  <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
  <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" /> 
</head>

<body class="wy-body-for-nav">

   
  <div class="wy-grid-for-nav">
    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search" >
          

          
            <a href="index.html" class="icon icon-home"> FATE
          

          
          </a>

          
            
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <!-- Local TOC -->
              <div class="local-toc"><ul>
<li><a class="reference internal" href="#">federatedml.evaluation.test package</a><ul>
<li><a class="reference internal" href="#submodules">Submodules</a></li>
<li><a class="reference internal" href="#module-federatedml.evaluation.test.evaluation_run_test">federatedml.evaluation.test.evaluation_run_test module</a></li>
<li><a class="reference internal" href="#module-federatedml.evaluation.test">Module contents</a></li>
</ul>
</li>
</ul>
</div>
            
          
        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="index.html">FATE</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="index.html">Docs</a> &raquo;</li>
        
      <li>federatedml.evaluation.test package</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
            
            <a href="_sources/federatedml.evaluation.test.rst.txt" rel="nofollow"> View page source</a>
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="federatedml-evaluation-test-package">
<h1>federatedml.evaluation.test package<a class="headerlink" href="#federatedml-evaluation-test-package" title="Permalink to this headline">¶</a></h1>
<div class="section" id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
</div>
<div class="section" id="module-federatedml.evaluation.test.evaluation_run_test">
<span id="federatedml-evaluation-test-evaluation-run-test-module"></span><h2>federatedml.evaluation.test.evaluation_run_test module<a class="headerlink" href="#module-federatedml.evaluation.test.evaluation_run_test" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary">
<em class="property">class </em><code class="descclassname">federatedml.evaluation.test.evaluation_run_test.</code><code class="descname">TestEvaluationBinary</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationBinary"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary.accuracy_test">
<code class="descname">accuracy_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationBinary.accuracy_test"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary.accuracy_test" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary.assertFloatEqual">
<code class="descname">assertFloatEqual</code><span class="sig-paren">(</span><em>op1</em>, <em>op2</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationBinary.assertFloatEqual"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary.assertFloatEqual" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary.auc_test">
<code class="descname">auc_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationBinary.auc_test"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary.auc_test" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary.ks_test">
<code class="descname">ks_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationBinary.ks_test"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary.ks_test" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary.lift_test">
<code class="descname">lift_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationBinary.lift_test"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary.lift_test" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary.precision_test">
<code class="descname">precision_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationBinary.precision_test"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary.precision_test" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary.recall_test">
<code class="descname">recall_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationBinary.recall_test"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary.recall_test" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary.setUp">
<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationBinary.setUp"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary.setUp" title="Permalink to this definition">¶</a></dt>
<dd><p>Hook method for setting up the test fixture before exercising it.</p>
</dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary.tearDown">
<code class="descname">tearDown</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationBinary.tearDown"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary.tearDown" title="Permalink to this definition">¶</a></dt>
<dd><p>Hook method for deconstructing the test fixture after testing it.</p>
</dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary.test_evaluation">
<code class="descname">test_evaluation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationBinary.test_evaluation"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationBinary.test_evaluation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationMulti">
<em class="property">class </em><code class="descclassname">federatedml.evaluation.test.evaluation_run_test.</code><code class="descname">TestEvaluationMulti</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationMulti"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationMulti" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationMulti.accuracy_test">
<code class="descname">accuracy_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationMulti.accuracy_test"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationMulti.accuracy_test" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationMulti.assertFloatEqual">
<code class="descname">assertFloatEqual</code><span class="sig-paren">(</span><em>op1</em>, <em>op2</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationMulti.assertFloatEqual"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationMulti.assertFloatEqual" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationMulti.precision_test">
<code class="descname">precision_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationMulti.precision_test"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationMulti.precision_test" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationMulti.recall_test">
<code class="descname">recall_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationMulti.recall_test"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationMulti.recall_test" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationMulti.setUp">
<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationMulti.setUp"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationMulti.setUp" title="Permalink to this definition">¶</a></dt>
<dd><p>Hook method for setting up the test fixture before exercising it.</p>
</dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationMulti.tearDown">
<code class="descname">tearDown</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationMulti.tearDown"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationMulti.tearDown" title="Permalink to this definition">¶</a></dt>
<dd><p>Hook method for deconstructing the test fixture after testing it.</p>
</dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationMulti.test_evaluation">
<code class="descname">test_evaluation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationMulti.test_evaluation"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationMulti.test_evaluation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression">
<em class="property">class </em><code class="descclassname">federatedml.evaluation.test.evaluation_run_test.</code><code class="descname">TestEvaluationRegression</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationRegression"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression.assertFloatEqual">
<code class="descname">assertFloatEqual</code><span class="sig-paren">(</span><em>op1</em>, <em>op2</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationRegression.assertFloatEqual"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression.assertFloatEqual" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression.explained_variance_test">
<code class="descname">explained_variance_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationRegression.explained_variance_test"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression.explained_variance_test" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression.mean_absolute_error_test">
<code class="descname">mean_absolute_error_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationRegression.mean_absolute_error_test"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression.mean_absolute_error_test" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression.mean_squared_error_test">
<code class="descname">mean_squared_error_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationRegression.mean_squared_error_test"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression.mean_squared_error_test" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression.mean_squared_log_error_test">
<code class="descname">mean_squared_log_error_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationRegression.mean_squared_log_error_test"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression.mean_squared_log_error_test" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression.median_absolute_error_test">
<code class="descname">median_absolute_error_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationRegression.median_absolute_error_test"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression.median_absolute_error_test" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression.root_mean_squared_error_test">
<code class="descname">root_mean_squared_error_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationRegression.root_mean_squared_error_test"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression.root_mean_squared_error_test" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression.setUp">
<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationRegression.setUp"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression.setUp" title="Permalink to this definition">¶</a></dt>
<dd><p>Hook method for setting up the test fixture before exercising it.</p>
</dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression.tearDown">
<code class="descname">tearDown</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationRegression.tearDown"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression.tearDown" title="Permalink to this definition">¶</a></dt>
<dd><p>Hook method for deconstructing the test fixture after testing it.</p>
</dd></dl>

<dl class="method">
<dt id="federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression.test_evaluation">
<code class="descname">test_evaluation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/federatedml/evaluation/test/evaluation_run_test.html#TestEvaluationRegression.test_evaluation"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#federatedml.evaluation.test.evaluation_run_test.TestEvaluationRegression.test_evaluation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="module-federatedml.evaluation.test">
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-federatedml.evaluation.test" title="Permalink to this headline">¶</a></h2>
</div>
</div>


           </div>
           
          </div>
          <footer>
  

  <hr/>

  <div role="contentinfo">
    <p>
        &copy; Copyright 2019, FATE_TEAM

    </p>
  </div>
  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. 

</footer>

        </div>
      </div>

    </section>

  </div>
  


  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script>

  
  
    
   

</body>
</html>